
#****************************************************************************
#
#
# This is a GNU make (gmake) makefile
#****************************************************************************
##############################################################################

CUR_DIR = $(shell pwd)

INC= -I$(CUR_DIR)/../hylib -I$(CUR_DIR)/../hylib/net -I$(CUR_DIR)/../hylib/net/detail \
		-I$(CUR_DIR)/../hylib/os -I$(CUR_DIR)/../hylib/utility  \
		-I$(CUR_DIR)/../server/gate -I$(CUR_DIR)/../server/common \
		-I$(CUR_DIR)/../server/robot -I$(CUR_DIR)/../server/module \
		-I$(CUR_DIR)/../hylib/encode -I$(CUR_DIR)/../server/common/tactics \
		-I$(CUR_DIR)/../server/chat  

CXX_FLAG= -DINCLUDE_ALL -fpermissive  -Wno-deprecated 

.PHONY: all start echo clean robot 

all:start
	echo " test finish"
	
clean:
	rm -rf buff 

robot:
	g++ $(INC) $(CXX_FLAG) -g test_robot.cpp -lpthread -o robot

start:
	g++ $(INC) $(CXX_FLAG)  -g test_start.cpp -lpthread -o start

echo:
	g++ $(INC) $(CXX_FLAG) -g test_echo.cpp -lpthread -o echo
